import request from '@/plugin/axios'
export function getAllUserApplication(data) {
    return request({
        url: '/admin/apply',
        // url: '/getAllUserApplication',
        method: 'get',
        params: data
    })
}
export function getUnprocessedUserApplication(data) {
    return request({
        // url: '/getUnprocessedUserApplication',
        url: '/admin/apply/filter',
        method: 'get',
        params: data
    })
}
export function searchByName(data) {
    return request({
        url: '/admin/apply',
        method: 'post',
        params: data
    })
}
export function getUserInfo(id) {
    return request({
        url: '/admin/apply/' + id,
        method: 'get'
    })
}
export function checkUser(data) {
    return request({
        url: '/admin/checkUser',
        method: 'post',
        params: data
    })
}